#include <stdio.h>
#include <math.h>
int main()
{
    long pro;
    int count;
    scanf("%ld",&pro);
    while(pro!=0)
    {
        pro/=10;
        count++;
    }
    printf("%d",count);
    return 0;
}
